package com.ziq.zcamp.search

import android.content.Context
import android.content.Intent
import com.ziq.base.base.BaseActivity
import com.ziq.zcamp.manager.GlobalContextManager
import dagger.hilt.android.AndroidEntryPoint


@AndroidEntryPoint
class SearchMainActivity : BaseActivity() {

    companion object {
        private const val SEARCH_SOURCE = "search_source"
        const val SOURCE_FROM_DYNAMIC = "dynamic"
        const val SOURCE_FROM_PLACE = "place"

        fun open(context: Context,source : String){
            val intent = Intent(context, SearchMainActivity::class.java)
            intent.putExtra(SEARCH_SOURCE,source)
            GlobalContextManager.startActivity(context, intent)
        }
    }


}